	
</div>
	
<footer id="footer" role="contentinfo">
	<div class="menu-institucional">
		<ul>
			<li>
				<a href="<?php bloginfo('url'); ?>/a-equipe">
					A Equipe
				</a>
			</li>
			<li>
				<a href="<?php bloginfo('url'); ?>/anuncie">
					Anuncie
				</a>
			</li>
			<li class="last">
				<a href="<?php bloginfo('url'); ?>/contato">
					Contato
				</a>
			</li>
		</ul>
	</div>
	<div id="copyright">
		<?php echo sprintf( __( '%1$s %2$s %3$s. Todos os direitos reservados.', 'blankslate' ), '&copy;', date('Y'), esc_html(get_bloginfo('name')) ); ?>
	<div class="clear"></div>
	</div>
	<div class="clear"></div>
</footer>

<?php wp_footer(); ?>




<?php 
$ch = curl_init();
$timeout = 0;
curl_setopt($ch, CURLOPT_URL, 'http://www.adorocinema.com/filmes/numero-cinemas/');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);

$conteudo = curl_exec ($ch);
curl_close($ch);


preg_match_all('#<div class="data_box">(.*?)</div>#ims', $conteudo, $site);
preg_match_all('#<p>(.*?)</p>#ims', $conteudo, $descricao);
preg_match_all('#<h2 class="tt_18 d_inline">(.*?)</h2>#ims', $conteudo, $h2);


echo '<div class="todos-filmes" style="display:none;">';
for($i=0;$i<5;$i++){
echo "<div class='top box". $i ."'>".strip_tags($site[0][$i], "<img>");
echo $h2[0][$i];
echo $descricao[0][$i];
echo "</div>";
}

echo '</div>';
?>

</body>
<script>
jQuery(".top").each(function(index){
var img = jQuery(this).find("img").attr('src');
var title = jQuery(this).find("img").attr('title');
var url = jQuery(this).find('h2').find('a').attr('href');
var descricao = jQuery(this).find('p').html();
jQuery(".top").each(function(){
jQuery(".box" + index).html("<div class='thumb-videos'><img data-href='"+ url +"' src='"+ img +"' alt='"+ title +"' title='"+ title +"'></div><div class='title-video'>"+ title +"</div><div class='description-video'>"+ descricao +"</div><div class='clear'></div>");
})
})
jQuery(document).ready(function() {
	jQuery(".em-cartaz").html(jQuery('.todos-filmes').html());
	jQuery('.todos-filmes').html('');
	
	$('.em-cartaz').cycle({ 
		fx:     'fade', 
		timeout: 0,
		delay:  -4000,					
		next:   '#next', 
		prev:   '#prev' 
	});
});
</script>

<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-46488106-1', 'taxicafe.com.br');
  ga('send', 'pageview');

</script>
</body>
</html>